package com.atguigu.bean;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
public class UniqueVisitStats {
    //统计开始时间
    private String stt;
    //统计结束时间
    private String edt;
    //维度：版本
    private String vc;
    //维度：渠道
    private String ch;

    @TransientSink
    private String test;

    //维度：地区
    private String ar;
    //维度：新老用户标识
    private String is_new;
    //度量：uv
    private Long uv_ct = 0L;
    //统计时间
    private Long ts;

    public UniqueVisitStats(String stt, String edt, String vc, String ch, String ar, String is_new, Long uv_ct, Long ts) {
        this.stt = stt;
        this.edt = edt;
        this.vc = vc;
        this.ch = ch;
        this.ar = ar;
        this.is_new = is_new;
        this.uv_ct = uv_ct;
        this.ts = ts;
    }

    public String getStt() {
        return stt;
    }

    public void setStt(String stt) {
        this.stt = stt;
    }

    public String getEdt() {
        return edt;
    }

    public void setEdt(String edt) {
        this.edt = edt;
    }

    public String getVc() {
        return vc;
    }

    public void setVc(String vc) {
        this.vc = vc;
    }

    public String getCh() {
        return ch;
    }

    public void setCh(String ch) {
        this.ch = ch;
    }

    public String getAr() {
        return ar;
    }

    public void setAr(String ar) {
        this.ar = ar;
    }

    public String getIs_new() {
        return is_new;
    }

    public void setIs_new(String is_new) {
        this.is_new = is_new;
    }

    public Long getUv_ct() {
        return uv_ct;
    }

    public void setUv_ct(Long uv_ct) {
        this.uv_ct = uv_ct;
    }

    public Long getTs() {
        return ts;
    }

    public void setTs(Long ts) {
        this.ts = ts;
    }

    @Override
    public String toString() {
        return "UniqueVisitStats{" +
                "stt='" + stt + '\'' +
                ", edt='" + edt + '\'' +
                ", vc='" + vc + '\'' +
                ", ch='" + ch + '\'' +
                ", ar='" + ar + '\'' +
                ", is_new='" + is_new + '\'' +
                ", uv_ct=" + uv_ct +
                ", ts=" + ts +
                '}';
    }
}
